Skip to main content
PUT
/
x
/
articles
/
{article_id}
/
title
[Step 3/5] Set article title
curl --request PUT \
  --url https://api.twexapi.io/x/articles/{article_id}/title \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cookie": "<string>",
  "title": "<string>"
}
'
{
  "code": 123,
  "msg": "<string>",
  "data": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

article_id
string
required

Body

application/json

Twitter cookie string

title
string
required

Article title

Response

Successful Response

code
integer
required

200 = success, 429 = rate limit, 500 = server error

msg
string
required

Human-readable result message

data
null

No data returned for this step